#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int score;
	scanf("%d", &score);
	     if (score >= 10)              printf("Danger++\n");
	else if (score >= 4 && score <= 9) printf("Danger\n");
	else if (score >= 0 && score <= 3) printf("Good\n");


	return 0;
}